{{template "admin/public/head.html" .}}
<section>
	<aside>
		{{template "admin/public/nav.html" .}}
	</aside>
	<article>
		<div class="top-title">
			<dl>
				<dt><h1>{{.title}}</h1></dt>
				<dd>&nbsp;</dd>
				<dd><a href="user_chat.html"><i class="iconfont">&#xe649;</i>帮助文档</a></dd>
			</dl>
		</div>

		<div class="content">
			<div class="release">
				<dl>
					<dt><i class="iconfont">&#xe649;</i> <b>{{.title}}说明</b><br>
						<p>会员都是通过微信登录获取到的信息<br>尽量不要<mark>编辑会员</mark>或者<mark>删除会员</mark></p>
					</dt>
					<!-- <dd><a href="/admin/member/add"><button type="button" class="button">添加会员</button></a></dd> -->
				</dl>
			</div>
			<form class="form">
				<table class="table1">
					<!-- 控制表格宽度  横向合并 colspan="1"  竖向合并 rowspan="3" -->
					<thead><th width="8%"></th><th width="17%"></th><th width="8%"></th><th width="17%"></th><th width="8%"></th><th width="17%"></th><th width="8%"></th><th width="17%"></th></thead>
					<tr>
						<td rowspan="3" colspan="2" class="center"><img src="{{if .info.pathname}}{{.info.pathname}}{{else}}/static/img/admin/avatar.jpg{{end}}" class="uppic img-3"></td>
						<td class="genre">昵称</td>
						<td>{{.info.monicker}}
						<td class="genre">名字</td>
						<td>{{.info.name}}
						<td class="genre">性别</td>
						<td>
							{{if eq .info.sex "0"}}保密{{else if eq .info.sex "1"}}男{{else}}女{{end}}
						</td>
					</tr>
					<tr>
						<td class="genre">手机号码</td>
						<td>{{.info.mobile}}
						<td class="genre">微信号</td>
						<td>{{.info.wechat}}
						<td class="genre">邮箱</td>
						<td>{{.info.mail}}
					</tr>
					<tr>
						<td class="genre">详细地址</td>
						<td colspan="5">
							{{.info.address}}
						</td>
					</tr>
			</form>
			</table>
		</div>
				<div class="content">
			<div class="release">
				<dl>
					<dt><i class="iconfont">&#xe649;</i> <b>登入获取</b><br>
					</dt>
					<!-- <dd><a href="/admin/member/add"><button type="button" class="button">添加会员</button></a></dd> -->
				</dl>
			</div>
			<form class="form">
				<table class="table1">
					<!-- 控制表格宽度  横向合并 colspan="1"  竖向合并 rowspan="3" -->
					<thead><th width="8%"></th><th width="17%"></th><th width="8%"></th><th width="17%"></th><th width="8%"></th><th width="17%"></th><th width="8%"></th><th width="17%"></th></thead>
					<tr>
						<td class="genre">国家</td>
						<td>
							{{.info.country}}	
						</td>
						<td class="genre">省</td>
						<td colspan="2">
							{{.info.province}}
						</td>
						<td class="genre">市</td>
						<td colspan="2">
							{{.info.city}}	
						</td>
					</tr>
					<tr>
						<td class="genre">注册时间</td>
						<td>
							{{.info.addip}}	
						</td>
						<td class="genre">注册ip</td>
						<td>
							{{.info.addip}}	
						</td>
						<td class="genre">上次登录时间</td>
						<td>
							{{.info.logintime}}	
						</td>
						<td class="genre">上次登录ip</td>
						<td>
							{{.info.loginip}}	
						</td>
					</tr>
					<tr>
						<td class="genre">登入次数</td>
						<td colspan="3">
							{{.info.loginnumber}}	
						</td>
						<td class="genre">QQ互联id</td>
						<td colspan="3">
							{{.info.qq_openid}}	
						</td>
					</tr>
					<tr>
						<td class="genre">微信unionid</td>
						<td colspan="3">
							{{.info.wx_unionid}}	
						</td>
						<td class="genre">微信公众号openid</td>
						<td colspan="3">
							{{.info.wx_openid_gzh}}	
						</td>
					</tr>
					<tr>
						<td class="genre">微信网页openid</td>
						<td colspan="3">
							{{.info.wx_openid_web}}	
						</td>
						<td class="genre">微信小程序openid</td>
						<td colspan="3">
							{{.info.wx_openid_xapp}}	
						</td>
					</tr>
					<tr>
						<td class="genre">微信App openid</td>
						<td colspan="3">
							{{.info.wx_openid_app}}	
						</td>
					</tr>
			</form>
			</table>
		</div>
					
	</article>
</section>

<footer><!-- 系统监控内容 --></footer>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/jquery.jedate.min.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/toast.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/uppic.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/xcConfirm.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/app.js"></script>
<script>
	$('.button').click(function(){
		var form=$('form').serialize()
		$.ajax({
			url:window.location.href,
			data:form,
			type:'post',
			success:function(res){
				if(res==1){
					 window.wxc.xcConfirm("保存成功","success",{onClose:function(){
                        window.location.href = document.referrer
                    }})
				}else {
					 window.wxc.xcConfirm("保存失败,请重试!","error")
				}
			}
		})
	});
</script>
</body>
</html>
